package com.example.fireassistant_server.mapper;

import com.example.fireassistant_server.dto.polygon.PolyGonCreateRequest;
import com.example.fireassistant_server.dto.polygon.PolyGonDto;
import com.example.fireassistant_server.entity.PolyGon;
import com.example.fireassistant_server.vo.PolyGonVo;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface PolyGonMapper {

    PolyGonDto toDto(PolyGon polyGon);

    PolyGonVo toVo(PolyGonDto polyGonDto);

    PolyGon createEntity(PolyGonCreateRequest polyGonCreateRequest);
}
